package base.operator;

public class Compare {
    public static void main(String[] args) {
        int a = 16;
        double b = 9.5;
        System.out.println("a = " + a + ",b = " + b);
        System.out.println("a>b = " + (a > b));
        System.out.println("a<b = " + (a < b));
        System.out.println("a==b = " + (a == b));
        System.out.println("a<=b = " + (a <= b));
        System.out.println("a>=b = " + (a >= b));
        String s1 = "Hello", s2 = "World";
        System.out.println("s1 = " + s1 + ",s2 = " + s2);
        System.out.println("s1==s2 = " + (s1 == s2));
        System.out.println("s1!=s2 = " + (s1 != s2));
    }
}
